package com.lnsoft.cac.server.handle.codec;

import lombok.Data;

@Data
public class I1Frame {

    /**
     * 报文头
     */
    private volatile int msgHead = 0x5AA5;
    /**
     *  报文长度
     */
    private volatile int msgLen = 0;

    /**
     *  电压监测仪ID
     */
    private volatile byte[] voltageMonitorID;

    /**
     *  帧类型
     */
    private int frameType = 0;

    /**
     * 报文类型
     */
    private volatile int msgType = 0;

    /**
     * 帧序列号
     */
    private volatile int frameSerialNum = 0;

    /**
     *  报文内容
     */
    private volatile byte[] msgBody;

    /**
     *  校验位
     */
    private volatile int msgCRC16 = 0;

    /**
     *  报文尾
     */
    private int msgTail = 0x96;

}
